package com.interview.ujiuye1;

/**
 * Copyright (C), 2018-2020
 * FileName: Demo7
 * Author:   kongfanyu
 * Date:     2020/10/19 09:23
 */
public class Demo7 {
    public static void main(String[] args) {
        int num = 0;
        int count = 0;
        for (int i=0; i<=5; i++){
            num = num + i;
            count = count++;
        }
        System.out.println(num);
        System.out.println(count);
        System.out.println(num * count);
    }
}
